#include "deGlobalTypes.hpp"
#include "deString.hpp"
Include dependency graph for PluginCommon.hpp:

Go to the source code of this file.
Compounds | |
| class | IDPlugin |
| class | IDPManager |
| class | IDPMCommandHandler |
| class | IDPMContextMenu |
| class | IDPMEventHandler |
| class | IDPMInterface |
| class | IDPMMenu |
| class | IDPMObject |
| class | IDPMScene |
| class | IDPMSettingsHandler |
| struct | IDPMSettingsItem |
| class | IDPObject |
| struct | IDPObjectProperty |
| Details of an object's property make-up. More... | |
| struct | MenuState |
Defines | |
| #define | PLUGIN_API extern "C" DEDLL_IMPORT |
| #define | CONTROL_EDITBOX "EditBox" |
| #define | CONTROL_STATIC "Static" |
| #define | CONTROL_CHECKBOX "CheckBox" |
| #define | CONTROL_LISTBOX "ListBox" |
| #define | CONTROL_COLORPICKER "ColorPicker" |
| #define | CONTROL_HIDDEN "Hidden" |
| #define | DATATYPE_STRING "String" |
| #define | DATATYPE_INT "Integer" |
| #define | DATATYPE_REAL "Real" |
| #define | DATATYPE_DWORD "DWORD" |
| #define | DATATYPE_FLOAT "Real" |
| #define | DATATYPE_DOUBLE "Real" |
| #define | DATATYPE_UNSIGNEDINT "DWORD" |
| #define | DATATYPE_INTEGER "Integer" |
| #define | DATATYPE_BOOL "Boolean" |
| #define | DATATYPE_LISTBOX_VALUES "ListBoxValues" |
| #define | IDPMEVENT_WINDOW_RESIZE 1 |
| Event for changes in the view's window size. | |
| #define | IDPMEVENT_FRAME 2 |
| Event for each frame of the editor. | |
| #define | IDPMEVENT_UPDATE_OBJECT 3 |
| Indicates a scene object has been changed. | |
| #define | IDPMEVENT_CONTEXT_MENU 4 |
| The editor is about to display a context menu. | |
| #define | IDPMEVENT_MENU 5 |
| The user has selected a menu item. | |
| #define | IDPMEVENT_MENU_STATE 6 |
| Event to query the state of a menu item. | |
| #define | IDPMEVENT_MOUSEMOVE 7 |
| Called when the user moves the mouse in the view area. | |
| #define | IDPMEVENT_LBUTTONDBLCLK 8 |
| Called when the user double clicks the left mouse button in the view area. | |
| #define | IDPMEVENT_LBUTTONDOWN 9 |
| Called when the user presses down the left mouse button in the view area. | |
| #define | IDPMEVENT_LBUTTONUP 10 |
| Called when the user releases the left mouse button in the view area. | |
| #define | IDPMEVENT_RBUTTONDBLCLK 11 |
| Called when the user double clicks the right mouse button in the view area. | |
| #define | IDPMEVENT_RBUTTONDOWN 12 |
| Called when the user presses down the right mouse button in the view area. | |
| #define | IDPMEVENT_RBUTTONUP 13 |
| Called when the user releases the right mouse button in the view area. | |
| #define | IDPMEVENT_MOUSEWHEEL 14 |
| Called when the user spins the mousewheel and the mouse is inthe view area. | |
| #define | IDPMEVENT_KEYDOWN 15 |
| Called when the user preses a key down. | |
| #define | IDPMEVENT_KEYUP 16 |
| Called when the user releases a key. | |
| #define | IDPMEVENT_ADD_OBJECT 17 |
| Called to indicate a new scene object has been added to the scene. | |
| #define | IDPMEVENT_DELETE_OBJECT 18 |
| Called to indicate that a scene object has been removed from the scene. | |
| #define | IDPMEVENT_INITIALFRAME 19 |
| Called on the very first frame event for the plugin/object. | |
| #define | IDPMEVENT_SHOW_SETTINGS 20 |
| #define | IDPMEVENT_APPLY_SETTINGS 21 |
| #define | IDPMEVENT_CLOSE_SETTINGS 22 |
| #define | IDPMEVENT_CUSTOM 60000 |
| Starting point for plugin registered event ids. | |
| #define | IDPMEVENTS_ALL 65000 |
| Indicates ALL events above. | |
| #define | PROP_DETAILS(name, prop, propname, propcontrol, proptype) |
| #define | PROP_BADTYPE(name, propname) |
| #define | PROP_SETVALUE(name, pvalue, propname, propvalue) |
| #define | PROP_MAKELISTBOX(name, pvalue, propname, propvalues) PROP_SETVALUE(name, pvalue, propname ":Values", propvalues) |
| #define | PROP_CANTSET(name, propname) |
Typedefs | |
| typedef IDPManager *(* | fnIDPManager_Create )() |
| typedef void(* | fnIDPManager_Destroy )(IDPManager *) |
| typedef IDPlugin *(* | fnIDPlugin_Create )() |
| typedef void(* | fnIDPlugin_Destroy )(IDPlugin *) |
Enumerations | |
| enum | IDPResult { IDP_OK = 0, IDP_PROPERTY_NOT_FOUND = 1, IDP_CANNOT_CONVERT_PROPERTY = 2, IDP_ERROR = 3, IDP_PROPERTY_CANT_BE_SET = 4 } |
| enum | IDPMResult { IDPM_OK = 0, IDPM_DUPLICATE_OBJECT = 1, IDPM_DUPLICATE_MENU = 2, IDPM_MENU_NOT_FOUND = 3, IDPM_OBJECTHANDLER_NOT_FOUND = 4, IDPM_OBJECT_CREATE_FAILED = 5, IDPM_NO_MORE_MENU_IDS = 6, IDPM_ERROR = 7, IDPM_DUPLICATE_CONTROL = 8 } |
Functions | |
| DEDLL_IMPORT IDPlugin * | IDPlugin_Create () |
| DEDLL_IMPORT void | IDPlugin_Destroy (IDPlugin *pInterface) |
| DEDLL_IMPORT IDPManager * | IDPManager_Create () |
| DEDLL_IMPORT void | IDPManager_Destroy (IDPManager *pInterface) |
This file is distributed "AS IS" without warranty of any kind. Novus Delta, LLC. does not guarantee the fitness of the contents of this file for any particular purpose.
Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.
finish up this documentation
add copy option to output logs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Called to indicate a new scene object has been added to the scene.
|
|
|
This event signifies that the user has clicked APPLY in the workspace settings dialog and the plugin should run through its settings and apply any changes Param1 will be a packaed pointer to an IDPMSettingsHandler |
|
|
This event signifies that the user has clicked OK to close the workspace settings dialog and the plugin should run through its settings and apply any changes. Param1 will be a packaed pointer to an IDPMSettingsHandler |
|
|
The editor is about to display a context menu.
|
|
|
Starting point for plugin registered event ids.
|
|
|
Called to indicate that a scene object has been removed from the scene.
|
|
|
Event for each frame of the editor.
|
|
|
Called on the very first frame event for the plugin/object.
|
|
|
Called when the user preses a key down.
|
|
|
Called when the user releases a key.
|
|
|
Called when the user double clicks the left mouse button in the view area.
|
|
|
Called when the user presses down the left mouse button in the view area.
|
|
|
Called when the user releases the left mouse button in the view area.
|
|
|
The user has selected a menu item.
|
|
|
Event to query the state of a menu item.
|
|
|
Called when the user moves the mouse in the view area.
|
|
|
Called when the user spins the mousewheel and the mouse is inthe view area.
|
|
|
Called when the user double clicks the right mouse button in the view area.
|
|
|
Called when the user presses down the right mouse button in the view area.
|
|
|
Called when the user releases the right mouse button in the view area.
|
|
|
Called to indicate that the workspace settings are about to be displayed Param1 in OnEvent() will be packed with a pointer to an IDPMSettingsHandler which can be used to add settings to be displayed for the user. |
|
|
Indicates a scene object has been changed.
|
|
|
Event for changes in the view's window size.
|
|
|
Indicates ALL events above.
|
|
|
Sets up the proper exports/imports. Plugins need to define PLUGIN_EXPORTS somewhere before including this file in order to get the right exports |
|
|
Value: if (name == propname)\ return IDP_CANNOT_CONVERT_PROPERTY;
|
|
|
Value: if (name == propname)\ {\ return IDP_PROPERTY_CANT_BE_SET;\ }
|
|
|
Value: if (name == propname)\ {\ prop->ControlType = propcontrol;\ prop->Name = propname;\ prop->NativeDataType = proptype;\ return IDP_OK;\ }
|
|
|
Utility macro for building the values of a listbox in GetProperty()
|
|
|
Value: if (name == propname)\ {\ *pvalue = propvalue;\ return IDP_OK;\ }
|
|
|
Used internally to create an instance of the PluginManager. This should never be used by a plugin. |
|
|
Used internally to destroy an instance of the PluginManager. This should never be used by a plugin. |
|
|
The PluginManager uses this function to create an instance of the plugin. This should never be used by a plugin. |
|
|
The PluginManager uses this function to destroy an instance of the plugin. This should never be used by a plugin. |
|
|
|
Standard result codes for Plugin use. These are the standard result codes that plugins use to return from various functions.
|
|
|
The PluginManager uses this function to create an instance of the plugin. This should never be used by a plugin.
|
|
|
The PluginManager uses this function to destroy an instance of the plugin. This should never be used by a plugin.
|
|
|
Used internally to create an instance of the PluginManager. This should never be used by a plugin. |
|
|
Used internally to destroy an instance of the PluginManager. This should never be used by a plugin. |
1.3-rc3